The database directory typically has a data directory 数据库目录通常有一个数据目录(
Directory under the database directory or a user - specified location 目录中,或者存储在用户指定的一个位置。
This directory contains all the files directories that are in the database directory 这个目录包含数据库目录中的所有文件/目录。
Note : this example assumes that there are no table spaces that exist outside of the database directory 提示:该例中假设在数据库目录之外没有表空间。
The entire database directory can be copied when the system is offline using operating system commands 当系统离线时,可以使用操作系统命令复制整个数据库目录。
Lets look at a couple of simple examples to illustrate how db2 determines the database directory location 关于db2如何确定数据库目录的位置,让我们看两个简单的示例:
The information stored within sqldbdir is known as the volume database directory or the local database directory 存储在sqldbdir中的信息通称为卷标数据库目录或者本地数据库目录。
The db2relocatedb tool will assume that any containers located within the database directory are being moved as well Db2relocatedb工具会假定所有容器都位于正在移动的数据库目录中。
By default , the transaction log is stored under the database directory , the transaction log location can be changed by specifying the 默认情况下,事务日志存放在数据库目录下,可以通过在连接url中指定
If the transaction log directory is different from the database directory , make sure that the transaction log directory is also copied 如果事务日志目录与数据库目录有不同之处,那么应确保同时复制了事务日志目录。